package cn.jiangjiesheng.bootstrap.commons.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

@RefreshScope
@ConfigurationProperties(prefix = "rabbit")
@Configuration
@Data
public class RabbitProperties implements IProperties {

    private String address;
    private String username;
    private String password;
    private String virtualHost;
    private boolean publisherConfirms;


}
